package com.zr.plant.service;

import com.zr.plant.model.PlantAddVo;
import com.zr.plant.model.PlantSelectVo;
import com.zr.plant.model.PlantUpdateStatusVo;
import com.zr.plant.model.PlantUpdateVo;
import com.zr.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by lenovo on 2019/12/25.
 */
public interface PlantService {
    ResultVo queryLegalPersonById(Integer userid);

    ResultVo queryPage(PlantSelectVo plantSelectVo);

    ResultVo add(@Valid PlantAddVo plantAddVo);

    ResultVo update(@Valid PlantUpdateVo plantUpdateVo);

    ResultVo updateStatus(@Valid PlantUpdateStatusVo plantUpdateStatusVo);
}
